
<div class="post_types">
    <a id='new_message' rel="message" class="active"><span class='icon_message'></span>Nieuw bericht</a>
    <a id='new_image' rel="event"><span class='icon_image'></span>Nieuwe afbeelding</a>
    <a id='new_poll' rel="poll"><span class='icon_poll'></span>Nieuwe poll</a>
    <a id='new_event' rel="event"><span class='icon_event'></span>Nieuw event</a>

    
	
</div>
    <div class="tabs">
        <div class="tab message active">
            <form action="<?=site_url('main/post');?>" method="POST">

                <textarea id="message"></textarea>
                <br>
                <a id="post_button">Post</a>
            </form>
        </div>
        <div class="tab poll">
            <form action="<?=site_url('main/post');?>" method="POST" id="poll_form">

                <input type="text" id="question" name="question" size="40" placeholder="Vraag">
                <br>
                <input type="checkbox" name="multiple answers">Meerdere antwoorden mogelijk?<br />
                <? for ($i=0; $i<3; $i++):?>
                    <input type ="text" class="answer" name ="answer[]" size="30" placeholder="Antwoord"> <br/>
                <? endfor; ?>
                <br>
                <a id="post_poll_button">Post</a>
            </form>



        </div>
        <div class="tab event">
        <form action="<?=site_url('main/post');?>" method="POST" id="event_form">
        
			<input type="text" name="event_title" size="40" placeholder="Wat?" />
            <input type="text" name="event_location" size="40" placeholder="Waar?" />
            <input type="text" name="damage" size="40" placeholder="Schade" />
            <input type="text" name="event_date" size="40" placeholder="When?" />
            <input type="text" name="event_time" size="40" placeholder="What time?" />
            
            <? //include 'calendar.php'; ?>          
            
            <textarea id="description" placeholder="Waarom?"></textarea>
            <input type="checkbox" CHECKED name="allow_intros" title="allow intro" />Intros welkom.
            
            <a id="post_event_button">Add event</a>
            </form>
           <br />
        </div>
        

   </div>

</form>